﻿using System;

namespace Sunny.Core.Exception.Domain
{
    public class ModelException : DomainException
    {
        public ModelException(string message, Type type)
            : base(message)
        {
            message += message + " For model " + type.Name;
        }

        public ModelException(string message, Type type, System.Exception inner)
            : base(message, inner)
        {
            message += message + " For model " + type.Name;
        }
    }
}